/*
* 命名空间: LogicModel.DataModel
*
* 功 能： SysUser实体类
*
* 类 名： SysUserEntity
*
* Version   变更日期            负责人     变更内容
* ─────────────────────────────────────────────────
* V1.0.1    2019-04-09 10:32:31 罗维     创建
*
* Copyright (c) 2016 Lir Corporation. All rights reserved.
*/

namespace Dapper.MsSql.Test
{
    using System;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;

    [Table("SysUser")]
    public class SysUserEntity 
    {

        [Key]
        [Display(Name = "gCode")]
        [Column("gCode")]
        public string gCode
        {
            get; set;
        }

        /// <summary>
        /// 登陆名称
        /// </summary>
        [Display(Name = "登陆名称")]
        [Column("sLoginName")]
        public string sLoginName
        {
            get; set;
        }

        /// <summary>
        /// 密码
        /// </summary>
        [Display(Name = "密码")]
        [Column("sPassword")]
        public string sPassword
        {
            get; set;
        }

        /// <summary>
        /// 联系人
        /// </summary>
        [Display(Name = "联系人")]
        [Column("sUserName")]
        public string sUserName
        {
            get; set;
        }

        /// <summary>
        /// 是否冻结 0未冻结  1已经冻结
        /// </summary>
        [Display(Name = "是否冻结 0未冻结  1已经冻结")]
        [Column("iState")]
        public int iState
        {
            get; set;
        }

        /// <summary>
        /// 创建时间
        /// </summary>
        [Display(Name = "创建时间")]
        [Column("dCreateTime")]
        public DateTime dCreateTime
        {
            get; set;
        }

        /// <summary>
        /// 联系电话
        /// </summary>
        [Display(Name = "联系电话")]
        [Column("sPhone")]
        public string sPhone
        {
            get; set;
        }

        /// <summary>
        /// 1男 2女 0未知 
        /// </summary>
        [Display(Name = "1男 2女 0未知 ")]
        [Column("iSex")]
        public int iSex
        {
            get; set;
        }

        /// <summary>
        /// 是否被逻辑删除
        /// </summary>
        [Display(Name = "是否被逻辑删除")]
        [Column("bIsDeleted")]
        public bool bIsDeleted
        {
            get; set;
        }
    }
}
